﻿@{
    ViewBag.Title = "NewWin";
}

<h2><a href="javascript:;" id="close">关闭</a></h2>
<script type="text/ecmascript">

    $("#close").click(function () {
        window.opener.document.getElementById("newValue").value = "新的值呀,新窗口也关闭了";
        window.close();
    });
</script>
